package org.springblade.modules.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.admin.entity.ElevatorAudit;
import org.springblade.modules.admin.vo.feishu.FeiShuAnnualReviewDateVO;

import java.util.List;

public interface ElevatorAuditMapper extends BaseMapper<ElevatorAudit> {
	int countBuildingElevatorAudit(@Param("buildingId") Long buildingId, @Param("checkTime") String checkTime, @Param("checkType") Integer checkType);

	/**
	 * 根据设备编码获取年检日期对象
	 * @param deviceCodes 设备编码列表
	 * @return 年检日期对象列表
	 */
    List<FeiShuAnnualReviewDateVO> getAnnualReviewDateByDeviceCodes(List<String> deviceCodes);
}
